package ac.zlf.springmybatis.core.util;

import org.apache.commons.configuration.ConfigurationException;
import org.apache.commons.configuration.PropertiesConfiguration;

public class HwConfiguration {
    private static PropertiesConfiguration propertiesConfiguration;

    public static synchronized PropertiesConfiguration getInstance() {
        propertiesConfiguration = new PropertiesConfiguration();
        try {
            propertiesConfiguration.load("system_config.properties");
        } catch (ConfigurationException e) {
        }
        return propertiesConfiguration;
    }

    public static abstract interface Key {
        public static final String PAGE_SIZE = "page.size";
    }
}